package info.techgeek.labs.java5Features.generics;

import java.util.ArrayList;
import java.util.List;

public class Test {
		
	public static void main(String args[]){
		TestView view = new TestView();
		List<TestView> list= new ArrayList();
		List<String> list1= new ArrayList();
		
		view.setName("Raj");
		view.setAge("21");
		list.add(view);
		
		view = new TestView();
		view.setAge("21");
		view.setName("Rajtt");
		list.add(view);
		
		list1.add("Raj");
		for (TestView testView : list) {
			System.out.println("Test " +testView.getName());
		}
		
		
		
	}
}
